home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / system / ffg202.zip / DEMO_BAT.ZIP / DELALL.BAT < prev    next >
DOS Batch File  |  1995-04-01  |  965b  |  34 lines

  1. @echo off
  2.   if %1.==. goto USAGE:
  3.   echo Searching for files to select for deletion...
  4.   ffg>del$tmp$.bat /fs! /fb1pf.e %1 %2 %3 %4 %5 %6 %7 %8 %9
  5.   cls
  6.   echo Next you can edit out any lines with names of files you don't want deleted.
  7.   pause
  8.   ted del$tmp$.bat
  9.   if exist del$tmp$.bak del del$tmp$.bak
  10.   cls
  11.   echo Press ^C to abort without deleting any files.
  12.   echo Otherwise to begin deleting files
  13.   pause
  14.   echo on
  15.   @call del$tmp$ del
  16.   @echo off
  17.   del del$tmp$.bat
  18.   goto END
  19. :USAGE
  20.   cls
  21.   echo USAGE: %0 d:
  22.   echo.
  23.   echo        Where d: is a list of drives to clean up.
  24.   echo.
  25.   echo        EXAMPLE: %0 CDE:*.[bak,tmp]
  26.   echo.
  27.   echo                 Deletes *.bak and *.tmp files from drives C:, D:, E:
  28.   echo.
  29.   echo "%0" deletes specified files from the specified disk(s).  You are
  30.   echo given an opportunity to override the delete operation for specific files
  31.   echo or can abort the entire operation.
  32.   pause
  33. :END
  34.